import request from '@/utils/request'

export function pageSet_list(query) {//分页查询
    return request({
        url: '/api/pageSet/list',
        method: 'post',
        data: query
    })
}
export function pageSet_listAll(query) {
    return request({
        url: '/api/pageSet/listAll',
        method: 'post',
        data: query
    })
}
export function pageSet_save(query) {//新增active
    return request({
        url: '/api/pageSet/save?ts=' + Date.now(),
        method: 'post',
        data: query
    })
}
export function pageSet_edit(query) {//修改active
    return request({
        url: '/api/pageSet/edit',
        method: 'post',
        data: query
    })
}
export function pageSet_delete(query) {//删除 
    return request({
        url: '/api/pageSet/delete',
        method: 'post',
        data: query
    })
}
export function pageSet_deleteAll(query) {//批量删除   
    return request({
        url: '/api/pageSet/deleteAll',
        method: 'post',
        data: query
    })
}
export function pageSet_findById(query) {   
    return request({
        url: '/api/pageSet/findById',
        method: 'post',
        data: query
    })
}
